import Vue from 'vue'
import animate from 'animate.css'

Vue.use(animate)
Vue.filter("handleStr", (val) => {
    if (val.length > 4) {
        return val.slice(0, 4) + "..."
        } else {
        return val
        }
    })
